package com.cw.mapper;


import com.cw.beans.Maintain;
import com.cw.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;

@Mapper
public class MaintainMapperImpl implements MaintainMapper{
    @Autowired
    private MaintainMapper maintainMapper;



    @Override
    public ArrayList<Maintain> getMaintain(Maintain maintain, Page page, String type_id, String dapt_id) {
        return maintainMapper.getMaintain(maintain, page, type_id, dapt_id);
    }

    @Override
    public void addMaintain(Maintain maintain) {

    }

    @Override
    public int getMaintainnNum(Maintain maintain, String type_id, String dapt_id) {
        return maintainMapper.getMaintainnNum(maintain, type_id, dapt_id);
    }

    @Override
    public void updateMaintain(int id, String maintenance_completion_time) {

    }

    @Override
    public int getMaintainnNum1(Maintain maintain, String type_id, String dept_id) {
        return maintainMapper.getMaintainnNum(maintain, type_id, dept_id);

    }

    @Override
    public ArrayList<Maintain> getMaintain1(Maintain maintain, Page page, String type_id, String dept_id) {
        return maintainMapper.getMaintain1(maintain, page, type_id, dept_id);

    }
}
